VERSION 5.00
Begin VB.Form frmActualizaPolizas 
   Caption         =   "Actualiz informacion de Polizas "
   ClientHeight    =   4575
   ClientLeft      =   60
   ClientTop       =   420
   ClientWidth     =   14685
   Icon            =   "frmActualizaPolizas.frx":0000
   LinkTopic       =   "Form3"
   ScaleHeight     =   4575
   ScaleWidth      =   14685
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtDirectorio 
      BackColor       =   &H80000000&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00404040&
      Height          =   495
      Left            =   4680
      TabIndex        =   4
      Top             =   0
      Width           =   7815
   End
   Begin VB.CommandButton cmdLeerClientlistReport 
      Caption         =   "Leer ClientListReport.csv"
      Height          =   615
      Left            =   5520
      TabIndex        =   2
      Top             =   3600
      Width           =   2295
   End
   Begin VB.CommandButton cmdProcesarActualizaciones 
      Caption         =   "Procesar Actualizaciones"
      Height          =   615
      Left            =   2640
      TabIndex        =   1
      Top             =   3600
      Width           =   2295
   End
   Begin VB.CommandButton cmdCancelar 
      Caption         =   "Cancelar"
      Height          =   615
      Left            =   8400
      TabIndex        =   0
      Top             =   3600
      Width           =   2295
   End
   Begin VB.Label Label1 
      Caption         =   "Detalle de operacion en curso"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   120
      TabIndex        =   8
      Top             =   840
      Width           =   4335
   End
   Begin VB.Label lblActualizacionesProcesadas 
      Caption         =   "Actualizaciones Procesadas Correctamente"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   15.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00008000&
      Height          =   735
      Left            =   4560
      TabIndex        =   7
      Top             =   2520
      Visible         =   0   'False
      Width           =   5295
   End
   Begin VB.Label lblProcesandoActualizaciones 
      Caption         =   "ProcesandoActualizaciones!!!!"
      BeginProperty Font 
         Name            =   "Arial Black"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   855
      Left            =   4680
      TabIndex        =   6
      Top             =   1800
      Visible         =   0   'False
      Width           =   6255
   End
   Begin VB.Label lblOperacionEnCurso 
      BeginProperty Font 
         Name            =   "Arial Black"
         Size            =   21.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00800000&
      Height          =   735
      Left            =   4680
      TabIndex        =   5
      Top             =   720
      Width           =   7695
   End
   Begin VB.Label lblUbicacion 
      Caption         =   "Directorio de ClienteListReport.csv"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   255
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   4455
   End
End
Attribute VB_Name = "frmActualizaPolizas"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancelar_Click()
Unload Me
End Sub

Private Sub cmdLeerClientlistReport_Click()
Dim archivo As String
' sPathArchivo variable global que contiene el archivo y directorio
' seleccioando mediante el frmDirectorio.frm
txtDirectorio.Text = ObtenerDirectorioArchivo
lblOperacionEnCurso.Visible = True
CargarClientListReportATabla (txtDirectorio.Text)
lblOperacionEnCurso.Caption = "Archivo ingresado con exito"
End Sub

Private Sub cmdProcesarActualizaciones_Click()

lblOperacionEnCurso.Caption = "Procesando los novedades ingresadas"

If ProcesarActualizacionesDePoliza = True Then
   lblOperacionEnCurso.Caption = "Novedades procesadas con exito"
   Else
    lblOperacionEnCurso.Caption = "Fallo en el proceso de novedades"
End If
End Sub

